<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head >
    <meta charset="UTF-8">
    <title>个人中心</title>
    <link rel="stylesheet" type="text/css" href="static/css/user-unit.css">
</head>
<body>
<header data-am-widget="header"
        class="am-header am-header-default">
    <div class="am-header-left am-header-nav">
        <a href="#user-link" class="">
            <i class="am-header-icon am-icon-user"></i>
        </a>
        <a href="#left-link" class="am-btn am-btn-default am-round">
            <i class="am-header-icon am-icon-file-text" style="color: #00a23f"></i>
            <span class="am-header-nav-title" >
                修改
            </span>
        </a>
        <a href="#left-link" class="am-btn am-btn-default am-round">
            <i class="am-header-icon am-icon-save" style="color: #0c79b1;"></i>
            <span class="am-header-nav-title">
                保存
            </span>
        </a>
        <a href="javascript:;" class="am-btn am-btn-default am-round uploadimg">
            <i class="am-icon-cloud-upload" style="color: #ea6e0c" th:data-userid="${user.id}"></i>
            <span class="am-header-nav-title">
                 上传头像
            </span>
        </a>
    </div>
<!--
    <h1 class="am-header-title">
        用户中心
    </h1>
    <div class="am-header-right am-header-nav">
        <a href="#cart-link" class="am-btn am-btn-secondary">
            <i class="am-header-icon am-icon-shopping-cart"></i>
        </a>
    </div>
-->
</header>
<div class="am-scrollable-horizontal">
    <table class="am-table am-table-bordered am-table-compact am-text-nowrap tpl-table-black" th:object="${user}">
        <tr ><td>用户名</td><td th:text="*{name}"></td></tr>
        <tr ><td>性别</td><td th:text="*{sex}"></td></tr>
        <tr ><td>电话</td><td th:text="*{phone}"></td></tr>
        <tr ><td>邮箱</td><td th:text="*{email}"></td></tr>
        <tr ><td>公司组织</td><td th:text="*{company}"></td></tr>
        <tr ><td>等级</td><td th:text="*{level}"></td></tr>
    </table>
</div>

</body>
</html>